package com.software.backend.searchmovie.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @program: File_demo
 * @description: 电影
 * @author: C@t
 * @create: 2022-11-10 11:02
 **/
@Data
@Entity

public class Movie {
    @Id
    private int id;
    private String name;//电影名称
    private String language;//语言
    private Date time;
    private String type;
    private String star;
    private String coverUrl;
    @Column(name = "movie_url")
    private String path;
}
